#include <iostream>
#include "LinkedList.h"
using namespace std;

class Solution
{
  public:
    ListNode *oddEvenList(ListNode *head)
    {

        return head;
    }
};

int main(int argc, char const *argv[])
{
    int arr[] = {2, 1, 3, 5, 6, 4, 7};
    int n = sizeof(arr) / sizeof(arr[0]);
    ListNode *list = createLinkedList(arr, n);
    printLinkedList(list);
    Solution().oddEvenList(list);
    printLinkedList(list);
    deleteLinkedList(list);
    return 0;
}